package com.dingpeikeji.quickdeer.modules.rentproduct.dao;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.DemandsReact;
import com.dingpeikeji.quickdeer.modules.rentproduct.entity.TDemands;
import com.dingpeikeji.quickdeer.modules.sms.entity.Sms;

@MyBatisDao
public interface DemandsPriceDao {

	public List<TDemands> findStateChangedList(TDemands demands);
	
	public Long countDemandsReact(Integer demandid);
	
	public int insertDemandsReact(DemandsReact demandsReact);
	
	public int updateDemandsStatusDone(TDemands demands);
	
	public List<DemandsReact> findDemandsReactList(DemandsReact demandsReact);
	
	public List<DemandsReact> findBusReactList(DemandsReact demandsReact);

	public int sendMsg(Sms sms);
	
}
